123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAHB00801" position="absolute 0 0 1196 773" titletext="판정소견예문관리" onload="SMAHB00801_onload">
- <Layouts>
- <Layout>
- <Shape id="line9" linetype="horizontal" class="line_2" position="absolute 715 554 1194 560" anchor="top right"/>
- <Shape id="line6" linetype="horizontal" class="line_2" position="absolute 715 377 1194 383" anchor="top right"/>
- <Static id="caption6" text="판정소견예문관리" class="tit_1" position="absolute 0 0 140 25"/>
- <Static id="caption1" text="예문입력" class="tit_2" position="absolute 715 73 793 90" anchor="top right"/>
- <Grid id="grd_judgexmplst" taborder="1" binddataset="ds_main_judgexmpcdlst_item" useinputpanel="false" position="absolute 0 94 710 744" oncelldblclick="grd_judgexmplst_oncelldblclick" onrbuttonup="grd_judgexmplst_onrbuttonup" autoenter="key" selecttype="multirow" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="0"/>
- <Column size="66"/>
- <Column size="220"/>
- <Column size="190"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="sel"/>
- <Cell col="2" text="소견코드"/>
- <Cell col="3" text="한글소견"/>
- <Cell col="4" text="영문소견"/>
- <Cell col="5" text="소견그룹코드"/>
- <Cell col="6" text="소견그룹명"/>
- <Cell col="7" text="최종수정자"/>
- <Cell col="8" text="최종수정일시"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" text="bind:sel"/>
- <Cell col="2" text="bind:judgexmpcd"/>
- <Cell col="3" displaytype="text" text="bind:judghangshrtcnts"/>
- <Cell col="4" displaytype="text" text="bind:judgengshrtcnts"/>
- <Cell col="5" text="bind:judgexmpgrpcd"/>
- <Cell col="6" text="bind:judgexmpgrpnm"/>
- <Cell col="7" text="bind:lastupdtrid"/>
- <Cell col="8" text="bind:lastupdtdt" mask="####-##-## ##:##:##"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line10" linetype="horizontal" class="line_3" position="absolute 715 741 1194 747" anchor="right bottom"/>
- <Shape id="line1" linetype="horizontal" class="line_10" position="absolute 715 89 1194 95" anchor="top right"/>
- <Shape id="line2" linetype="horizontal" class="line_2" position="absolute 715 114 1194 120" anchor="top right"/>
- <Shape id="line3" linetype="horizontal" class="line_2" position="absolute 715 138 1194 144" anchor="top right"/>
- <Static id="caption11" text="한글소견" class="cell_1" position="absolute 715 118 794 141" style="padding:0 0 0 4;" anchor="top right"/>
- <Static id="caption7" text="예문코드" class="cell_1" position="absolute 715 94 794 117" style="padding:0 0 0 4;" anchor="top right"/>
- <Static id="caption3" text="예문내역" class="tit_2" position="absolute 0 73 92 89"/>
- <Shape id="line4" linetype="horizontal" class="line_10" position="absolute 0 89 710 95" anchor="left top right"/>
- <Shape id="line5" linetype="horizontal" class="line_2" position="absolute 715 162 1194 168" anchor="top right"/>
- <Static id="caption9" text="한글판정소견" class="cell_1" position="absolute 715 381 794 557" style="padding:0 0 0 4;" anchor="top right"/>
- <Shape id="line8" linetype="horizontal" class="line_2" position="absolute 715 279 1194 285" anchor="top right"/>
- <Static id="caption18" text="질환코드" class="cell_1" position="absolute 715 166 794 282" anchor="top right"/>
- <Static id="caption14" text="영문소견" class="cell_1" position="absolute 715 142 794 165" style="padding:0 0 0 4;" anchor="top right"/>
- <Edit id="ipt_exmpcd" taborder="2" class="input_essential" position="absolute 797 95 920 114" onkeyup="Edit_onkeyup" anchor="top right"/>
- <Edit id="ipt_shrthang" taborder="3" class="input" position="absolute 797 119 1194 138" onkeyup="Edit_onkeyup" anchor="top right"/>
- <Edit id="ipt_shrteng" taborder="4" class="input" position="absolute 797 143 1194 162" onkeyup="Edit_onkeyup" anchor="top right"/>
- <TextArea id="tar_hangcnts" taborder="5" position="absolute 797 381 1194 555" anchor="top right"/>
- <TextArea id="tar_engcnts" taborder="6" position="absolute 797 558 1194 742" anchor="top right bottom"/>
- <Button id="btn_sickcd" taborder="7" text="질환코드" class="btn2" position="absolute 722 208 787 230" onclick="btn_sickcd_onclick" anchor="top right"/>
- <Static id="caption10" text="영문판정소견" class="cell_1" position="absolute 715 558 794 744" style="padding:0 0 0 4;" anchor="top right bottom"/>
- <Div id="grp_search" taborder="8" class="div_SA" position="absolute 0 25 1194 65" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption21" text="예문코드 :" class="search_name" position="absolute 16 12 102 29" anchor="default"/>
- <Button id="btn_search" taborder="2" text="조회" class="btn1" position="absolute 1122 9 1178 31" anchor="right" onclick="grp_search_btn_search_onclick"/>
- <Shape id="line18" linetype="vertical" class="line_4" position="absolute 1101 9 1107 31" anchor="right"/>
- <Edit id="ipt_examcnts" taborder="3" class="input_search" position="absolute 420 11 710 30" anchor="default" onkeyup="grp_search_ipt_examcnts_onkeyup"/>
- <Edit id="ipt_examcd" taborder="4" class="input_search" position="absolute 105 11 270 30" anchor="default" onkeyup="grp_search_ipt_examcd_onkeyup"/>
- <Static id="caption22" text="단문내용:" class="search_name" position="absolute 330 12 416 29" anchor="default"/>
- <Static id="caption13" text="건진상세:" class="search_name" position="absolute 770 12 856 29" anchor="default"/>
- <Combo id="cmb_healexamdetlflag" taborder="5" innerdataset="@ds_init_A0070" codecolumn="cdid" datacolumn="cdnm" class="combo_essential" position="absolute 857 11 942 30" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_sicklst" taborder="9" binddataset="ds_main_judgexmpdetl_itemsick" useinputpanel="false" position="absolute 797 190 1194 280" selecttype="multirow" anchor="top right">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="83"/>
- <Column size="168"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="질환코드"/>
- <Cell col="2" text="질환명"/>
- <Cell col="3" text="판정코드"/>
- <Cell col="4" text="사업체코드"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:sickcd"/>
- <Cell col="2" displaytype="text" text="bind:sicknm"/>
- <Cell col="3" displaytype="combo" edittype="combo" text="bind:judgcd" combodataset="ds_cmb_judgcd" combocodecol="value" combodatacol="label"/>
- <Cell col="4" displaytype="text" edittype="text" text="bind:cmpycd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption2" text="사용여부" class="cell_1" position="absolute 923 94 982 117" style="padding:0 0 0 4;" anchor="top right"/>
- <CheckBox id="chk_useyn" taborder="10" position="absolute 985 96 1030 116" text="사용" truevalue="Y" onclick="chk_useyn_onclick" anchor="top right"/>
- <Button id="btn_rsltdel" taborder="11" text="선택행삭제" class="btn2" position="absolute 1119 166 1194 188" onclick="btn_rsltdel_onclick" anchor="top right"/>
- <Button id="btn_copy" taborder="12" text="행복사" class="btn2" position="absolute 657 67 710 89" onclick="btn_copy_onclick" anchor="top right"/>
- <Static id="caption4" text="질환코드" class="cell_1" position="absolute 715 283 794 380" anchor="top right"/>
- <Grid id="grd_testlst" taborder="13" binddataset="ds_main_judgexmpdetl_itemtest" useinputpanel="false" position="absolute 797 307 1194 378" selecttype="multirow" anchor="top right">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="150"/>
- <Column size="200"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="검사코드"/>
- <Cell col="2" text="검사명"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="text" text="bind:testcd"/>
- <Cell col="2" displaytype="text" text="bind:testnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="ipt_testcd" taborder="14" text="검사코드" class="btn2" position="absolute 722 316 787 338" onclick="ipt_testcd_onclick" anchor="top right"/>
- <Button id="button3" taborder="15" text="검사코드삭제" class="btn2" position="absolute 1108 283 1194 305" onclick="button3_onclick" anchor="top right"/>
- <Button id="button2" taborder="16" text="검사코드저장" class="btn2" position="absolute 1020 283 1106 305" onclick="button2_onclick" anchor="top right"/>
- <Div id="grp_judgexmpgrp" taborder="17" visible="false" position="absolute 272 216 705 298" class="div_SA2">
- <Layouts>
- <Layout>
- <Static id="caption5" text="소견그룹코드" class="cell_1" position="absolute 6 27 85 50" anchor="default" style="padding:0 0 0 4;"/>
- <Static id="caption8" text="소견그룹등록" class="tit_2" position="absolute 6 6 109 23" anchor="default"/>
- <Shape id="line7" linetype="horizontal" class="line_10" position="absolute 6 22 427 28" anchor="default"/>
- <Edit id="ipt_judgexmpgrpcd" taborder="1" class="input_essential" position="absolute 88 29 208 48" anchor="default"/>
- <Static id="caption12" text="소견그룹명" class="cell_1" position="absolute 213 27 292 50" anchor="default" style="padding:0 0 0 4;"/>
- <Edit id="ipt_judgexmpgrpnm" taborder="2" class="input_essential" position="absolute 293 29 427 48" anchor="default"/>
- <Button id="btn_savepopup" taborder="3" text="저장" class="btn4" position="absolute 371 54 427 76" anchor="default" onclick="grp_judgexmpgrp_btn_savepopup_onclick"/>
- <Shape id="line11" linetype="horizontal" class="line_2" position="absolute 6 49 430 55" anchor="default"/>
- <Button id="btn_rsltexmp" taborder="4" class="icon_plus" position="absolute 412 8 426 22" anchor="default" onclick="grp_judgexmpgrp_btn_rsltexmp_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption15" text="건진상세" class="cell_1" position="absolute 1033 94 1092 117" style="padding:0 0 0 4;" anchor="top right"/>
- <Combo id="cmb_healexamdetlflag2" taborder="18" innerdataset="@ds_init_A0070" codecolumn="cdid" datacolumn="cdnm" class="combo_essential" position="absolute 1098 95 1194 114" anchor="top right"/>
- <Div id="grp_btn" taborder="19" position="absolute 0 744 1195 771" anchor="left right bottom">
- <Layouts>
- <Layout>
- <Button id="btn_save" taborder="1" text="저장" class="btn4" position="absolute 1007 3 1063 25" anchor="right" onclick="grp_btn_btn_save_onclick"/>
- <Button id="btn_del" taborder="2" text="삭제" class="btn4" position="absolute 1067 3 1123 25" anchor="right" onclick="grp_btn_btn_del_onclick"/>
- <Button id="btn_clear" taborder="3" text="초기화" class="btn4" position="absolute 1126 3 1194 25" anchor="right" onclick="grp_btn_btn_clear_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line00" class="line_3" position="absolute 797 304 1194 310" anchor="top right"/>
- <Shape id="line07" class="line_3" position="absolute 797 187 1194 193" anchor="top right"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="grdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="grdid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_testlst_itemtest" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_send_savesub" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="savetest" type="STRING" size="256"/>
- <Column id="judgcd" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="healexamflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="savetest"/>
- <Col id="judgcd"/>
- <Col id="instcd"/>
- <Col id="healexamflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cnt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_judgexmpcdlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="sel" type="STRING" size="256"/>
- <Column id="judgexmpcd" type="STRING" size="256"/>
- <Column id="judghangshrtcnts" type="STRING" size="256"/>
- <Column id="judgengshrtcnts" type="STRING" size="256"/>
- <Column id="judgexmpgrpcd" type="STRING" size="256"/>
- <Column id="judgexmpgrpnm" type="STRING" size="256"/>
- <Column id="lastupdtrid" type="STRING" size="256"/>
- <Column id="lastupdtdt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="sel"/>
- <Col id="judgexmpcd"/>
- <Col id="judghangshrtcnts"/>
- <Col id="judgengshrtcnts"/>
- <Col id="judgexmpgrpcd"/>
- <Col id="judgexmpgrpnm"/>
- <Col id="lastupdtrid"/>
- <Col id="lastupdtdt"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_judgexmpdetl_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="judgexmpcd" type="STRING" size="256"/>
- <Column id="judghangshrtcnts" type="STRING" size="256"/>
- <Column id="judgengshrtcnts" type="STRING" size="256"/>
- <Column id="useyn" type="STRING" size="256"/>
- <Column id="judghangcnts" type="STRING" size="256"/>
- <Column id="judgengcnts" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="judgexmpcd"/>
- <Col id="judghangshrtcnts"/>
- <Col id="judgengshrtcnts"/>
- <Col id="useyn"/>
- <Col id="judghangcnts"/>
- <Col id="judgengcnts"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_popup_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="func" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">판정그룹등록</Col>
- <Col id="func">addjudgegrp</Col>
- </Row>
- <Row>
- <Col id="label">판정그룹삭제</Col>
- <Col id="func">deljudgegrp</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="okflag" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="healexamflag" type="STRING" size="256"/>
- <Column id="testcd" type="STRING" size="256"/>
- <Column id="judgexmpcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="okflag"/>
- <Col id="instcd"/>
- <Col id="healexamflag"/>
- <Col id="testcd"/>
- <Col id="judgexmpcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_save_savesick" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_send_save" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="healexamflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="healexamflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_A0070" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid"/>
- <Col id="cdnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_popup_jugdgexmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="judgexmpgrpcd" type="STRING" size="256"/>
- <Column id="judgexmpgrpnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="srchjudgexmpcd" type="STRING" size="256"/>
- <Column id="srchjudgexmpcnts" type="STRING" size="256"/>
- <Column id="srchjudgexmpcd2" type="STRING" size="256"/>
- <Column id="srchhealexamdetlflag" type="STRING" size="256"/>
- <Column id="srchinstcd" type="STRING" size="256"/>
- <Column id="srchhealexamflag" type="STRING" size="256"/>
- <Column id="srchjudgexmpcd2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchjudgexmpcd"/>
- <Col id="srchjudgexmpcnts"/>
- <Col id="srchjudgexmpcd2"/>
- <Col id="srchhealexamdetlflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_judgexmpdetl_itemsick" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="sickcd" type="STRING" size="256"/>
- <Column id="sicknm" type="STRING" size="256"/>
- <Column id="judgcd" type="STRING" size="256"/>
- <Column id="cmpycd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="sickcd"/>
- <Col id="sicknm"/>
- <Col id="judgcd"/>
- <Col id="cmpycd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savegrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="healexamflag" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="grpdata" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="healexamflag"/>
- <Col id="instcd"/>
- <Col id="grpdata"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_judgexmpdetl_itemtest" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="testcd" type="STRING" size="256"/>
- <Column id="testnm" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="healexamflag" type="STRING" size="256"/>
- <Column id="judgexmpcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="testcd"/>
- <Col id="testnm"/>
- <Col id="instcd"/>
- <Col id="healexamflag"/>
- <Col id="judgexmpcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_judgcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">A</Col>
- <Col id="value">A</Col>
- </Row>
- <Row>
- <Col id="label">B</Col>
- <Col id="value">B</Col>
- </Row>
- <Row>
- <Col id="label">C</Col>
- <Col id="value">C</Col>
- </Row>
- <Row>
- <Col id="label">R</Col>
- <Col id="value">R</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savegrp_grpdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cnt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_itemsick" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cnt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="ipt_exmpcd" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judgexmpcd"/>
- <BindItem id="item1" compid="ipt_shrthang" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judghangshrtcnts"/>
- <BindItem id="item2" compid="ipt_shrteng" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judgengshrtcnts"/>
- <BindItem id="item3" compid="tar_hangcnts" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judghangcnts"/>
- <BindItem id="item4" compid="tar_engcnts" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judgengcnts"/>
- <BindItem id="item5" compid="grp_search.ipt_examcnts" propid="value" datasetid="ds_send" columnid="srchjudgexmpcnts"/>
- <BindItem id="item6" compid="grp_search.ipt_examcd" propid="value" datasetid="ds_send" columnid="srchjudgexmpcd"/>
- <BindItem id="item7" compid="chk_useyn" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="useyn"/>
- <BindItem id="item8" compid="grp_judgexmpgrp.ipt_judgexmpgrpcd" propid="value" datasetid="ds_popup_jugdgexmp" columnid="judgexmpgrpcd"/>
- <BindItem id="item9" compid="grp_judgexmpgrp.ipt_judgexmpgrpnm" propid="value" datasetid="ds_popup_jugdgexmp" columnid="judgexmpgrpnm"/>
- <BindItem id="item10" compid="grp_search.cmb_healexamdetlflag" propid="value" datasetid="ds_send" columnid="srchhealexamdetlflag"/>
- <BindItem id="item11" compid="cmb_healexamdetlflag2" propid="value" datasetid="ds_send" columnid="srchhealexamdetlflag"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-12-04
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "ast_healexamxp::AHA001.xjs";
- //include "ast_commonxp::AST.xjs";
- //include "ast_healthexambasexp::healcombolist.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 조회
- ****************************************************************************************/
- function fGetJudgExmpList(){
- fInit(false);
-
- ds_main_judgexmpcdlst_item.clearData();
- ds_send.setColumn( 0, "srchinstcd", sysf_getUserInfo("dutplceinstcd"));
- ds_send.setColumn( 0, "srchhealexamflag",fGetHealExamFlag());
- var arrParam = [{dsNm: "ds_init_A0070", cdGrpId: "A0070"}
- ];
- appf_getCodeList(arrParam);
- if(fGetHealExamFlag() == "G"){
- grp_search.caption13.visible = false;
- grp_search.cmb_healexamdetlflag.visible = false;
- caption15.visible = false;
- cmb_healexamdetlflag2.visible = false;
- ds_send.setColumn( 0, "srchhealexamdetlflag", cmb_healexamdetlflag2.value);
- }else{
- grp_search.caption13.visible = false;
- grp_search.cmb_healexamdetlflag.visible = false;
- caption15.visible = false;
- cmb_healexamdetlflag2.visible = false;
- }
- var oParam = {};
- oParam.id = "TRAHB00801";
- oParam.service = "healexambaseapp.CmtCode";
- oParam.method = "reqGetCmtCdList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_judgexmpcdlst_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAHB00801";
- tranf_submit(oParam);
- }
- /*-**************************************************************************************
- * Argument : vInput - true/false
- * Description : 화면초기화
- ****************************************************************************************/
- function fInit(vInput){
- ipt_exmpcd.enable = true;
- if( vInput == false ) {
- ds_main_judgexmpcdlst_item.clearData();
- }
- ds_main_judgexmpdetl_itemsick.clearData();
- ds_main_judgexmpdetl_itemtest.clearData();
- ds_main_judgexmpdetl_item.clearData(); ds_main_judgexmpdetl_item.addRow(); dsf_setDefaultVal(ds_main_judgexmpdetl_item, "all");
- ipt_exmpcd.setFocus();
- }
- /*-**************************************************************************************
- * Argument : bCopy - true/false
- * Description : 행복사(상세조회)
- ****************************************************************************************/
- function fGetExmpDetlInfo(bCopy){
- var idx = grd_judgexmplst.Row;
- if( idx < 0 ) return ;
- ipt_exmpcd.enable = bCopy;
- ds_send.setColumn(0, "srchinstcd", sysf_getUserInfo("dutplceinstcd"));
- ds_send.setColumn(0, "srchhealexamflag", fGetHealExamFlag());
- ds_send.setColumn(0, "srchjudgexmpcd2", ds_main_judgexmpcdlst_item.getColumn(idx, "judgexmpcd"));
- dsf_makeValue(ds_send, "srchjudgexmpcd", "string", ds_main_judgexmpcdlst_item.getColumn(idx, "judgexmpcd"));
- var oParam = {};
- oParam.id = "TRAHB00802";
- oParam.service = "healexambaseapp.CmtCode";
- oParam.method = "reqGetCmtCdDetl";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_judgexmpdetl_item=item ds_main_judgexmpdetl_itemsick=itemsick ds_main_judgexmpdetl_itemtest=itemtest";
- oParam.async = false;
- //oParam.callback = "cf_TRAHB00802";
- tranf_submit(oParam);
- if(bCopy == true) {
- ds_main_judgexmpdetl_item.setColumn( 0, "judgexmpcd","");
- ipt_exmpcd.setFocus();
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 저장데이터 체크
- ****************************************************************************************/
- function fCheckVal(){
- var vCd = ds_main_judgexmpdetl_item.getColumn(0, "judgexmpcd");
- if(utlf_isNull(vCd)) {
- sysf_messageBox("예문코드는","I003");
- ipt_exmpcd.setFocus();
- }
- return true;
- }
- /*-**************************************************************************************
- * Argument : vDel - true/false 저장여부
- * Description : 저장
- ****************************************************************************************/
- function fSaveExmp(vDel){
- if(vDel == true ) {
- if ( sysf_messageBox("판정소견정보를","Q001") !=6 ) return ;
- }
- else {
- if ( sysf_messageBox("판정소견정보를","Q002") !=6 ) return ;
- }
-
- if(!fCheckVal()) return ;
-
- ds_send_save.copyData(ds_main_judgexmpdetl_item);
- ds_send_save.addColumn("mode","string");
-
- if( ipt_exmpcd.enable != true ){
- //update
- if(vDel == false ) {
- ds_send_save.setColumn(0, "mode", "u");
- }
- else {
- ds_send_save.setColumn(0, "mode", "d");
- }
- }
- else {
- //update
- ds_send_save.setColumn(0, "mode", "i");
- }
-
- dsf_makeValue(ds_send_save, "healexamflag", "string", fGetHealExamFlag());
-
- var dsUpdate = grdf_getGridUpdateData(grd_sicklst, "all");
- grdf_setStatusColumn(dsUpdate, "m");
- ds_send_save_savesick.copyData(dsUpdate, true);
- if(fGetHealExamFlag() == "G"){
- dsf_makeValue(ds_send_save, "healexamdetlflag", "string", grp_search.cmb_healexamdetlflag.value);
- }
- var oParam = {};
- oParam.id = "TXAHB00801";
- oParam.service = "healexambaseapp.CmtCode";
- oParam.method = "reqExeCmtCode";
- oParam.inds = "req=ds_send_save reqsick=ds_send_save_savesick";
- oParam.outds = "ds_hidden_item=item ds_hidden_itemsick=itemsick";
- oParam.async = false;
- oParam.callback = "cf_TXAHB00801";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXAHB00801") > -1){
- fGetExmpDetlInfo(false);
- }
- }
- function cf_TXAHB00801(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 예문코드와 매칭되는 검사코드를 저장,삭제한다.
- ****************************************************************************************/
- function fExeTestCd() {
- var idx = ds_main_judgexmpcdlst_item.rowcount;
- if( idx < 0) return ;
- var itest = ds_main_judgexmpdetl_itemtest.rowcount;
- for(var i = 0; i < itest; i++){
- ds_main_judgexmpdetl_itemtest.setColumn(i, "healexamflag", fGetHealExamFlag());;
- ds_main_judgexmpdetl_itemtest.setColumn(i, "judgcd", ds_main_judgexmpcdlst_item.getColumn(idx, "judgexmpcd"));
- ds_main_judgexmpdetl_itemtest.setColumn(i, "instcd", sysf_getUserInfo("dutplceinstcd"));
- }
- grdf_setStatusColumn(ds_main_judgexmpdetl_itemtest, "m");
- var oParam = {};
- oParam.id = "TXAHB00802";
- oParam.service = "healexambaseapp.CmtCode";
- oParam.method = "reqExeCmtTestCode";
- oParam.inds = "req=ds_main_judgexmpdetl_itemtest";
- oParam.outds = "ds_hidden_testlst_itemtest=itemtest";
- oParam.async = false;
- //oParam.callback = "cf_TXAHB00802";
- tranf_submit(oParam);
- }
- /*-**************************************************************************************
- * Argument : vMode - A : 등록 / D : 삭제
- * Description : 판정소견그룹을 등록,삭제 한다.
- ****************************************************************************************/
- function fSetJudgeGrp(vMode) {
- var selIdxs = grdf_getSelectedRows(grd_judgexmplst);
- // 판정소견그룹을 등록한다.
- if(vMode == "A") {
- // 팝업화면을 나타낸다
- grp_judgexmpgrp.visible = true;
- //초기화
- ds_popup_jugdgexmp.setColumn( 0, "judgexmpgrpcd","");
- ds_popup_jugdgexmp.setColumn( 0, "judgexmpgrpnm","");
- }else if(vMode == "D") {
- // 선택한 row의 그룹코드,명을 삭제한다.
- for(var i=0; i < selIdxs.length; i++) {
- var idx = selIdxs[i];
- ds_main_judgexmpcdlst_item.setColumn(idx, "judgexmpgrpcd", "");
- ds_main_judgexmpcdlst_item.setColumn(idx, "judgexmpgrpnm", "");
- grdf_setStatus(grd_judgexmplst, "U", [idx]);
- }
-
- var dsUpdate = grdf_getGridUpdateData(grd_judgexmplst, "all");
- grdf_setStatusColumn(dsUpdate, "m");
- ds_send_savegrp_grpdata.copyData(dsUpdate, true);
- dsf_setFixVal(ds_send_savegrp_grpdata, "healexamflag:"+ds_send.getColumn(0, "srchhealexamflag")+",instcd:"+ds_send.getColumn(0, "srchinstcd"));
-
- call_TXAHB00804();
-
- if(arErrorCode.pop("TXAHB00804") > -1) {ds_main_judgexmpcdlst_item.applyChange();}
- }
- }
- function call_TXAHB00804() {
- var oParam = {};
- oParam.id = "TXAHB00804";
- oParam.service = "healexambaseapp.CmtCode";
- oParam.method = "reqExeJudgExmpGrp";
- oParam.inds = "req=ds_send_savegrp_grpdata";
- oParam.outds = "ds_hidden=item";
- oParam.async = false;
- oParam.callback = "cf_TXAHB00804";
- tranf_submit(oParam);
- }
- function cf_TXAHB00804(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
-
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMAHB00801_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- grdf_setRowTypeIcon(grd_sicklst, 0);
- grdf_setRowTypeIcon(grd_testlst, 0);
- fGetJudgExmpList();
- //화면권한추가
- grp_search.btn_search.enable = frmf_checkAuth("R");
- grp_btn.btn_save.enable = frmf_checkAuth("X");
- grp_btn.btn_clear.enable = frmf_checkAuth("X");
- grp_btn.btn_del.enable = frmf_checkAuth("X");
-
- frmf_createPopupMenuDs("pmn_menu", "pmn_menu_onmenuclick", ds_popup_item);
- }
- /****************************************************************************************
- * Components : PopupMenu
- * Description : 팝업메뉴 실행
- ****************************************************************************************/
- function pmn_menu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- if(e.id == "addjudgegrp") {
- fSetJudgeGrp("A");
- }
- if(e.id == "deljudgegrp") {
- fSetJudgeGrp("D");
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 예문내역 선택
- ****************************************************************************************/
- function grd_judgexmplst_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
- fGetExmpDetlInfo(false);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 질환코드 검색
- ****************************************************************************************/
- function btn_sickcd_onclick(obj:Button, e:ClickEventInfo) {
- var cnt = grd_sicklst.rowcount;
- ahafGetSickCd("SMAHB00800", "", "", cnt, grd_sicklst.binddataset);
- if( ds_temp.getColumn(0, "okflag") == "Y" ){
- for( var i = cnt ; i < grd_sicklst.rowcount; i++){
- grdf_setStatus(grd_sicklst, "I", [i]);
- }
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 조회
- ****************************************************************************************/
- function grp_search_btn_search_onclick(obj:Button, e:ClickEventInfo) {
- fGetJudgExmpList();
- }
- /****************************************************************************************
- * Components : Edit
- * Description : 조회조건 입력후 조회
- ****************************************************************************************/
- function grp_search_ipt_examcnts_onkeyup(obj:Edit, e:KeyEventInfo) {
- if(e.keycode == 13) {
- obj.updateToDataset();
- grp_search.btn_search.click();
- }
- }
- function grp_search_ipt_examcd_onkeyup(obj:Edit, e:KeyEventInfo) {
- if(e.keycode == 13) {
- obj.updateToDataset();
- grp_search.btn_search.click();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 질환코드 행삭제
- ****************************************************************************************/
- function btn_rsltdel_onclick(obj:Button, e:ClickEventInfo) {
- var objGrd = grd_sicklst;
- var selectedRows = grdf_getSelectedRows(objGrd);
- for (var i = selectedRows.length-1; i >= 0; i--){
- if( objects[objGrd.binddataset].getRowType(selectedRows[i]) == 2 ) {
- objects[objGrd.binddataset].deleteRow(selectedRows[i]);
- }else{
- grdf_setStatus(objGrd, "D", [selectedRows[i]]);
- }
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 행복사
- ****************************************************************************************/
- function btn_copy_onclick(obj:Button, e:ClickEventInfo) {
- fGetExmpDetlInfo(true);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 검사코드 조회
- ****************************************************************************************/
- function ipt_testcd_onclick(obj:Button, e:ClickEventInfo) {
- var cnt = grd_testlst.rowcount;
- var vjudgexmpcd = ds_main_judgexmpcdlst_item.getColumn(ds_main_judgexmpcdlst_item.rowposition, "judgexmpcd");
- ahafGetTestCd("SMAHB00800", "", "", cnt, this.objects[grd_testlst.binddataset], vjudgexmpcd);
- if( ds_temp.getColumn(0, "okflag") == "Y" ){
- for( var i = cnt ; i < grd_testlst.rowcount; i++){
- grdf_setStatus(grd_testlst, "I", [i]);
- }
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 검사코드삭제
- ****************************************************************************************/
- function button3_onclick(obj:Button, e:ClickEventInfo) {
- deleteTest(grd_testlst.currentrow); //AHA001.xjs
- }
- /****************************************************************************************
- * Components : Button
- * Description : 검사코드저장
- ****************************************************************************************/
- function button2_onclick(obj:Button, e:ClickEventInfo) {
- fExeTestCd();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 소견그룹저장
- ****************************************************************************************/
- function grp_judgexmpgrp_btn_savepopup_onclick(obj:Button, e:ClickEventInfo) {
- var selIdxs = grdf_getSelectedRows(grd_judgexmplst);
- var judgexmpgrpcd = grp_judgexmpgrp.ipt_judgexmpgrpcd.value;
- var judgexmpgrpnm = grp_judgexmpgrp.ipt_judgexmpgrpnm.value;
-
- for(var i = 0; i < selIdxs.length; i++) {
- var selIdx = selIdxs[i];
- if(!utlf_isNull(judgexmpgrpcd)) ds_main_judgexmpcdlst_item.setColumn(selIdx, "judgexmpgrpcd", judgexmpgrpcd);
- if(!utlf_isNull(judgexmpgrpnm)) ds_main_judgexmpcdlst_item.setColumn(selIdx, "judgexmpgrpnm", judgexmpgrpnm);
- grdf_setStatus(grd_judgexmplst, "U", [idx]);
- }
-
- var dsUpdate = grdf_getGridUpdateData(grd_judgexmplst, "all");
- grdf_setStatusColumn(dsUpdate, "m");
- ds_send_savegrp_grpdata.copyData(dsUpdate, true);
- dsf_setFixVal(ds_send_savegrp_grpdata, "healexamflag:"+ds_send.getColumn(0, "srchhealexamflag")+",instcd:"+ds_send.getColumn(0, "srchinstcd"));
- grp_judgexmpgrp.visible = false;
-
- call_TXAHB00804();
-
- if(arErrorCode.pop("TXAHB00804") > -1) {ds_main_judgexmpcdlst_item.applyChange();}
- }
- /****************************************************************************************
- * Components : Button
- * Description : 소견그룹 닫기
- ****************************************************************************************/
- function grp_judgexmpgrp_btn_rsltexmp_onclick(obj:Button, e:ClickEventInfo) {
- grp_judgexmpgrp.visible = false;
- }
- /****************************************************************************************
- * Components : Button
- * Description : 저장
- ****************************************************************************************/
- function grp_btn_btn_save_onclick(obj:Button, e:ClickEventInfo) {
- for(var i = 0; i < ds_main_judgexmpdetl_itemsick.rowcount; i++){
- if (utlf_isNull(ds_main_judgexmpdetl_itemsick.getColumn(i, "sickcd"))){
- sysf_messageBox("질환코드는 필수 선택항목 입니다.", "E999", "");
- return;
- }
- if (utlf_isNull(ds_main_judgexmpdetl_itemsick.getColumn(i, "judgcd"))){
- sysf_messageBox("판정코드는 필수 선택항목 입니다.", "E999", "");
- return;
- }
- }
-
- var irow = ds_main_judgexmpcdlst_item.rowposition;
-
- fSaveExmp(false);
-
- grp_search.btn_search.click();
- ds_main_judgexmpcdlst_item.rowposition = irow;
- frmf_inputEnterKey("grd_judgexmplst", "oncelldblclick", new GridClickEventInfo);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 삭제
- ****************************************************************************************/
- function grp_btn_btn_del_onclick(obj:Button, e:ClickEventInfo) {
- fSaveExmp(true);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 초기화
- ****************************************************************************************/
- function grp_btn_btn_clear_onclick(obj:Button, e:ClickEventInfo) {
- fInit(true);
- }
- function grd_judgexmplst_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1){
- grdf_setSelectedCell(obj, e); // 선택된 행 확실히 선택해줌
- pmn_menu.trackPopup(e.screenX,e.screenY);
- }
-
- return true;
- }
- function chk_useyn_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == false) ds_main_judgexmpdetl_item.setColumn(0, "useyn", "");
- }
- function Edit_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) this.getNextComponent(obj).setFocus();
- }
- ]]></Script>
- </Form>
- </FDL>
|